#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#pragma pack()
struct s1
{
	char c1;
	char c2;
	int i;
};
#pragma pack()
struct s2
{
	int i;
	char c1;
	char c2;
};

struct s3
{
	char c1;
	int i;
	char c2;
};

struct s4
{
	char c1;
	struct s1 s2;
	double c2;
};

int main()
{
	
	printf("%d\n", sizeof(struct s1));
	printf("%d\n", sizeof(struct s2));
	printf("%d\n", sizeof(struct s3));
	printf("%d\n", sizeof(struct s4));

	return 0;
}